package cn.lanqiao.facelogin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author Heroleaves
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("information")
@ApiModel("用户信息类")
public class LoginData {
    //    @TableId(type = IdType.AUTO)
//    private Integer id;
    @ApiModelProperty("电话号")
    private String tel;
    @ApiModelProperty("用户唯一码")
    @TableField("uuid")
    private String uuid;
    @TableField("face_token")
    @ApiModelProperty("人脸数据库唯一码")
    private String faceToken;
    @TableField("tel_code")
    @ApiModelProperty("验证码")
    private String telCode;
    @TableField("token_id")
    @ApiModelProperty("第三方登录ID")
    private String tokenId;
    @TableField("u_name")
    @ApiModelProperty("名称")
    private String uName;

    public LoginData(LoginData loginData, long l) {

    }

    public LoginData(String phone, long l) {

    }
}
